package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;

public class CheckDetailActivity extends SingleFragmentActivity {

  @Override protected Fragment createFragment() {

    String type = getIntent().getStringExtra(CheckDetailFragment.EXTRA_TYPE);
    String id = getIntent().getStringExtra(CheckDetailFragment.EXTRA_REQUISITION_ID);
    String runId = getIntent().getStringExtra(CheckDetailFragment.EXTRA_INTERRUPT);
    String file = getIntent().getStringExtra(CheckDetailFragment.EXTRA_FILE);
    String dataStatus = getIntent().getStringExtra(CheckDetailFragment.EXTRA_DATASTATUS);
    String ifAllowSupplement = getIntent().getStringExtra(CheckDetailFragment.EXTRA_IFALLOW);
    return CheckDetailFragment.newInstance(id, type, runId, file, dataStatus, ifAllowSupplement);
  }
}
